package com.company.class10;

/**
 * @Classname Man
 * @Description 类型说明
 * @Date 2022/5/4 23:18
 * @Created by zbw
 */

public class Male extends Human{
    public final String SEX = "男";


    public void Male(){
        super.Human();
        System.out.println("所以男人也会"+super.REFLECTION);
    }


    public void sleep() {
        System.out.println("男人需要睡觉");
    }

    public void love(String name){
        super.name = name;
        super.love();
    }


    public void eat(String food) {
        System.out.println("男人正在吃"+food);
    }

    public void strong(){
        System.out.println("男人是比较强壮的");
    }
}
